package com.sino.operation.system.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sino.operation.commons.response.CenterResponseEntity;
import com.sino.operation.entity.BizManagerTrans;
import com.sino.operation.entity.SysCenter;
import com.sino.operation.service.BizManagerTransService;
import com.sino.operation.service.SysCenterService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@Slf4j
@Controller
@RequestMapping("TransManager")
@Api(value = "交易管理",tags="交易管理")
public class TransManagerController {
    @Autowired
    private BizManagerTransService bizManagerTransService;

    @GetMapping("/selectCenterList")
    @ApiOperation(value = "查询中心列表")
    @ResponseBody
    public  IPage<BizManagerTrans>  getCenterList(@RequestParam Map<String,String> map){
        IPage<BizManagerTrans> sysCenterIPage = bizManagerTransService.selectList(map);
        return sysCenterIPage;
    }

    
}
